// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]



#[tauri::command]
fn set_theme(_theme: String) {
    // println!("{}", theme);
    // let win = tauri::Builder::default()
    //     .setup(|app| {
    //         let main_window = app.get_window("main").unwrap();
    //         Ok(())
    //     });
}


fn main() {
    tauri::Builder::default()
        .invoke_handler(tauri::generate_handler![set_theme])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}


